package com.BigDate.server.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stx
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_exp_comment")
@ApiModel(value="ExpComment对象", description="")
public class ExpComment implements Serializable {

    @ApiModelProperty(value = "评论主键")
    @TableId("id")
    private Integer id;

    @ApiModelProperty(value = "评论的项目Id")
    @TableField("exp_id")
    private Integer expId;

    @ApiModelProperty(value = "父级评论Id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "评论内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "评论等级")
    @TableField("level_flag")
    private Integer levelFlag;

    @ApiModelProperty(value = "用户Id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;
}
